<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>亿速网络商城首页</title>
		<link href="__PUBLIC__/Home/css/index.css" rel="stylesheet" type="text/css">
		<link href="__PUBLIC__/Home/css/banner.css" rel="stylesheet" type="text/css">
    <style>
    *{margin:0; padding:0;}	/*为了方便 直接这样重置了*/
    #main{margin:0 auto; width:100%;}
    #banner{display:none; margin:0 auto; width:100%; height:280px; position:relative;}
    #close{display:block; width:50px; height:22px; text-align:center; line-height:22px; border:1px #ddd solid; background:#000; color:#fff; font-size:12px; float:right; cursor:pointer;}
    </style>
<script src="__PUBLIC__/Home/js/jquery.min.js"></script>
<script src="__PUBLIC__/Home/js/sl.js"></script>
<script>
$(function(){
	$("#banner").slideDown();
	var Up=function(){$("#banner").slideUp(1500)}
	setTimeout(Up,5000);
	$("#close").click(function(){
		$("#banner").slideToggle(600,function(){
			if($("#banner").css("display") == "none"){
				$("#close").text("展开");
			}else{
				$("#close").text("关闭");
			}
		});
	});
});
</script>

<script>
	$(function(){
	  	$.focus("#focus001");
	});
</script>	

<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?b617365240820bd7c4c96bd00b4a1b29";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>


	</head>

	<body>
<table cellspacing=0 cellpadding=1 width="100%" border=0>

<tr><th bgcolor=#CCCCCC style='text-align:center;font-size:16px;line-height:25px;'><marquee direction='left' width=100%   scrollamount=2 align="center">

<span style='color:red;position: relative;left:-700px;'>{$result_gonggao.content}</span>

</marquee></th>

</tr>

</table>
<div style="margin: 0px auto; width: 100%; display: block" id=js_ads_banner_top>
<foreach name="result_ad28" item="vo_top28">
	<a href="{$vo_top28.ad_link}" target=_blank>
    	<img src="__PUBLIC__/Uploads/ad/{$vo_top28.pic_url}" style="width:100%; height:80px;">
    </a>
</foreach>	
</div>

<div style="margin: 0px auto; width: 100%; display: none" id=js_ads_banner_top_slide> 
<foreach name="result_top" item="vo_top">
	<a href="{$vo_top.ad_link}" target=_blank>
    	<img src="__PUBLIC__/Uploads/ad/{$vo_top.pic_url}" style="width:100%; height:280px;">
    </a> 
</foreach>
</div>
<script src="__PUBLIC__/Home/js/jquery.min.js"></script>
<script src="__PUBLIC__/Home/js/lrzj.js"></script>	



<include file="Public:header" />

<div id="banner_bg" style="width:100%; background:#FFF7C3;">
		<!-- 内容 -->
		<div class="content">
			<div class="classification">
			<ul id="nav">


	<style>
	


	</style>

<script>

$(function(){
	$('.mainCate').mouseover(function(){
		$(this).find('.subCate').css('display','block')
		$(this).siblings('li').find('.subCate').css('display','none');
	}).mouseout(function(){
		$('.subCate').css('display','none');
	});
})

</script>	
			
			
				
<foreach name="result_class" item="vo_class" key="k">
<li class="mainCate list-item0 ">
	<h3><a style="font-size:16px;" href="{:U('Index/goods')}?class_id={$vo_class.id}">{$vo_class.class_name}</a></h3>  
	 <div class="subCate" id="sub_{$k}" style="top:-{$k * 42}px;">
		<ul id="sub-ul-1">
		  <h4 style="font-size:16px; font-weight:blod; position:relative; left:-25px; margin-bottom:20px; padding-bottom:20px; border-bottom:1px solid #38C249;">{$vo_class.class_name}</h4>
		  <li>
			  <span>
			  
			  <foreach name="vo_class['class_sub']" item="class_sub">
			  <a href="{:U('Index/goods')}?class_sub_id={$class_sub.id}">{$class_sub.class_name}</a>
			  </foreach>
			  
			  </span>
		  </li>
		</ul>
	  </div>
</li>
</foreach>
		
			
			
			</ul>
			</div>

			<div class="slideshow">
				<div class="focus" id="focus001">
					<ul>
					<foreach name="result_banner" item="vo_banner" key="k_2">
						<li><a href="{$vo_banner.ad_link}" target="_blank">
						<img style="width:750px; height:466px;" src="__PUBLIC__/Uploads/ad/{$vo_banner.pic_url}" /></a>
						<input type="button" id="bg_{$k_2}" value="{$vo_banner.color_val}" />
						</li>
					</foreach>
					</ul>
				</div>
			</div>
			<div class="right-right">
				<div class="Bulletin" style="background:#FFF;">
					<h3><span class="left">最新商品</span><a href="{:U('Index/article')}" class="right size12" style="margin-right:10px;">更多></a></h3>
					
					<ul>
                    <foreach name="resul_article" item="vo_article" key="k_a">
						<li style="border-bottom:1px dashed #CCC;"><a href="{:U('Index/article_details')}?id={$vo_article.id}"><span>{$k_a+1}</span>
                        {$vo_article.title|msubstr=0,15,'utf-8',true}</a></li>
                    </foreach>
					</ul>
				</div>
				<div class="advertising">
					<foreach name="result_ad2" item="vo_ad2">
					<a href="{$vo_ad2.ad_link}"><img src="__PUBLIC__/Uploads/ad/{$vo_ad2.pic_url}" style="width:250px; height:250px;"></a></foreach>
				</div>
			</div>
		</div>
		
		</div>
		
		
		<!-- 广告 -->
		<div class="month">
			<foreach name="result_home_tuijian" item="vo_home_tuijian">
				<a href="{:U('Index/goods_details')}?id={$vo_home_tuijian.id}">
				<img src="__PUBLIC__/Uploads/goods/{$vo_home_tuijian.pic_url}" style="width:240px; height:230px; margin-right:1x;"></a>
			</foreach>
			
		</div>
		<!-- 当季热卖 -->
		<div class="Selling">

	<h3 style="border-bottom:2px solid #4AB151; margin-bottom:5px;"><span>推荐商品 <img src="__PUBLIC__/Home/img/22.jpg" /></span></h3>

<table style="width:1210px; height:400px; border:0px;" cellpadding="0" cellspacing="0">
	<tr>
		<td rowspan="2">
			<a href="{$result_ad_home[0]['ad_link']}"><img src="__PUBLIC__/Uploads/ad/{$result_ad_home[0]['pic_url']}" style="width:241px; height:400px;" ></a></td>
		<td>
			<a href="{$result_ad_home[1]['ad_link']}"><img src="__PUBLIC__/Uploads/ad/{$result_ad_home[1]['pic_url']}" style="width:485px; height:200px;" ></a></td>
		<td>
			<a href="{$result_ad_home[2]['ad_link']}"><img src="__PUBLIC__/Uploads/ad/{$result_ad_home[2]['pic_url']}" style="width:484px; height:200px;" ></a></td>
	</tr>
	<tr>
		<td>
			<a href="{$result_ad_home[3]['ad_link']}"><img src="__PUBLIC__/Uploads/ad/{$result_ad_home[3]['pic_url']}" style="width:485px; height:200px;" ></a></td>
		<td>
			<a href="{$result_ad_home[4]['ad_link']}"><img src="__PUBLIC__/Uploads/ad/{$result_ad_home[4]['pic_url']}" style="width:484px; height:200px;" ></a></td>
	</tr>
</table>

		
	
		 	



		
<div class="clear"></div>


<if condition="!empty($result_1)">
	<h3><span>粮油副食 <img src="__PUBLIC__/Home/img/22.jpg" /></span><a href="{:U('Index/goods')}?class_id=16" style="float:right;">更多 >> </a></h3>
    <ul>
	<foreach name="result_1" item="vo_1">
    	<li style="padding-bottom:0; padding-top:10px; width:220px;">
        	<p><a href="{:U('Index/goods_details')}?id={$vo_1.id}"><img style=" width:220px; height:210px;" src="__PUBLIC__/Uploads/goods/{$vo_1.pic_url}" /></p>
            <p style="height:50px;">{$vo_1.title|msubstr=0,38,'utf-8',true}</p>
			<p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_1.price_old}</span>
			<span style="float:right;">送积分:<span style="font-weight:600;color:#FF6600;">{$vo_1.fanli_jifen}积分</span></span></p>
            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_1.price_new}</span>
			<a href="{:U('Index/goods_details')}?id={$vo_1.id}" style="margin-right:0;" class="immediately">立即购买</a></p>
        </li>
	</foreach>
    </ul>
</if>

<!-- 
<if condition="!empty($result_2)">
	<h3><span>洗护用品 <img src="__PUBLIC__/Home/img/33.jpg" /></span><a href="{:U('Index/goods')}?class_id=17" style="float:right;">更多 >> </a></h3>
    <ul>
	<foreach name="result_2" item="vo_2">
    	<li style="padding-bottom:0; padding-top:10px; width:220px; ">
        	<p><a href="{:U('Index/goods_details')}?id={$vo_2.id}"><img style=" width:220px; height:210px;" src="__PUBLIC__/Uploads/goods/{$vo_2.pic_url}" /></p>
            <p style="height:50px;">{$vo_2.title|msubstr=0,38,'utf-8',true}</p>
            <p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_2.price_old}</span>
            <span style="float:right;">送积分:<span style="font-weight:600;color:#FF6600;">{$vo_2.fanli_jifen}积分</span></span></p>
            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_2.price_new}</span>
			<a href="{:U('Index/goods_details')}?id={$vo_2.id}" style="margin-right:0;" class="immediately">立即购买</a></p>
        </li>
	</foreach>
    </ul>
</if>
 -->

<if condition="!empty($result_3)">
	<h3><span>家庭清洁</span><a href="{:U('Index/goods')}?class_id=18" style="float:right;">更多 >> </a></h3>
    <ul>
	<foreach name="result_3" item="vo_3">
    	<li style="padding-bottom:0; padding-top:10px; width:220px; ">
        	<p><a href="{:U('Index/goods_details')}?id={$vo_3.id}"><img style=" width:220px; height:210px;" src="__PUBLIC__/Uploads/goods/{$vo_3.pic_url}" /></p>
            <p style="height:50px;">{$vo_3.title|msubstr=0,38,'utf-8',true}</p>
			<p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_3.price_old}</span>
			<span style="float:right;">送积分:<span style="font-weight:600;color:#FF6600;">{$vo_3.fanli_jifen}积分</span>积分</span></p>           
            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_3.price_new}</span>
			<a href="{:U('Index/goods_details')}?id={$vo_3.id}" style="margin-right:0;" class="immediately">立即购买</a></p>
        </li>
	</foreach>
    </ul>
</if>


<if condition="!empty($result_0)">
	<h3><span>休闲零食 <img src="__PUBLIC__/Home/img/11.jpg" /></span><a href="{:U('Index/goods')}?class_id=51" style="float:right;">更多 >> </a></h3>
    <ul>
	<foreach name="result_0" item="vo_0">
    	<li style="padding-bottom:0; padding-top:10px; width:220px; ">
        	<p><a href="{:U('Index/goods_details')}?id={$vo_0.id}"><img style=" width:220px; height:210px;" src="__PUBLIC__/Uploads/goods/{$vo_0.pic_url}" /></p>
            <p style="height:50px;">{$vo_0.title|msubstr=0,38,'utf-8',true}</p>
            <p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_0.price_old}</span>
            <span style="float:right;">送积分:<span style="font-weight:600;color:#FF6600;">{$vo_0.fanli_jifen}积分</span></span></p>
            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_0.price_new}</span>
			<a href="{:U('Index/goods_details')}?id={$vo_0.id}" style="margin-right:0;" class="immediately">立即购买</a></p>
        </li>
	</foreach>
    </ul>
</if>


<if condition="!empty($result_4)">
	<h3><span>母婴用品</span><a href="{:U('Index/goods')}?class_id=19" style="float:right;">更多 >> </a></h3>
    <ul>
	<foreach name="result_4" item="vo_4">
    	<li style="padding-bottom:0; padding-top:10px; width:220px; ">
        	<p><a href="{:U('Index/goods_details')}?id={$vo_4.id}"><img style=" width:220px; height:210px;" src="__PUBLIC__/Uploads/goods/{$vo_4.pic_url}" /></p>
            <p style="height:50px;">{$vo_4.title|msubstr=0,38,'utf-8',true}</p>
            <p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_4.price_old}</span>
            <span style="float:right;">送积分:<span style="font-weight:600;color:#FF6600;">{$vo_4.fanli_jifen}积分</span></span></p>           
            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_4.price_new}</span>
			<a href="{:U('Index/goods_details')}?id={$vo_4.id}" style="margin-right:0;" class="immediately">立即购买</a></p>
        </li>
	</foreach>
    </ul>
</if>


<if condition="!empty($result_5)">
	<h3><span>生活用品</span><a href="{:U('Index/goods')}?class_id=20" style="float:right;">更多 >> </a></h3>
    <ul>
	<foreach name="result_5" item="vo_5">
    	<li style="padding-bottom:0; padding-top:10px; width:220px; ">
        	<p><a href="{:U('Index/goods_details')}?id={$vo_5.id}"><img style=" width:220px; height:210px;" src="__PUBLIC__/Uploads/goods/{$vo_5.pic_url}" /></p>
            <p style="height:50px;">{$vo_5.title|msubstr=0,38,'utf-8',true}</p>
            <p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_5.price_old}</span>
            <span style="float:right;">送积分:<span style="font-weight:600;color:#FF6600;">{$vo_5.fanli_jifen}积分</span></span></p>          
            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_5.price_new}</span>
			<a href="{:U('Index/goods_details')}?id={$vo_5.id}" style="margin-right:0;" class="immediately">立即购买</a></p>
        </li>
	</foreach>
    </ul>
</if>









		</div>
		</div>

		
				
		<div class="clear"></div>
		
		<div class="w1210" style="margin-top: 30px;">
		<foreach name="result_ad5" item="vo_ad5">
			<p style="margin: 0 auto; width: 1200px;"><a href="{$vo_ad5.ad_link}"><img style="width:1210px; height:160px;" src="__PUBLIC__/Uploads/ad/{$vo_ad5.pic_url}"/></a></p>
		</foreach>
		</div>

		
<include file="Public:footer" />
		
	</body>

</html>